/**
* Copyright (c) By zengqh.
*
* This program is just for fun or demo, in the hope that it  
* will be useful, you can redistribute it and/or modify freely.
*
* Time: 2013/03/03
* File: Opengl.h
* Blog: http://www.cnblogs.com/zengqh/
**/

#pragma once

#include "GLee5_4/GLee.h"
#include <core/Core.h>
#include "GLMapping.h"

static inline void checkGLError()
{
#if _DEBUG
	if (glGetError() != GL_NO_ERROR)
	{
		HY_ASSERT(0);
	}
#endif
}